package com.dog.basics.bean.dto.admin.mtkj;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.*;
import java.io.Serializable;

/**
 * <p>
 * 设备轮椅
 * </p>
 *
 * @author wph
 * @since 2020-09-29
 */
@Data

public class WheelchairAddDto  {
    /**
     * 轮椅编号
     */
    @NotBlank(message = "轮椅编号不能为空")
    @ApiModelProperty(value = "轮椅编号(10)", dataType = "String", required = true)
    @Size(min = 1, max = 10, message = "轮椅编号不正确(1-20)")
    private String wheeCode;

    /**
     * 轮椅名称
     */
    @NotBlank(message = "轮椅名称不能为空")
    @ApiModelProperty(value = "轮椅名称(20)", dataType = "String", required = true)
    @Size(min = 1, max = 20, message = "轮椅名称不正确(1-20)")
    private String wheeName;

    /**
     * 设备类型 : 0-轮椅 1-平推车 2-陪护床
     */
    @NotNull(message = "设备类型不能为空")
    @ApiModelProperty(value = "设备类型 : 0-轮椅 1-平推车 2-陪护床", dataType = "Integer", required = true)
    @Min(value = 0, message = "设备类型只能是:(轮椅丶平推车丶陪护床)")
    @Max(value = 2, message = "设备类型只能是:(轮椅丶平推车丶陪护床)")
    private Integer wheeType;

    /**
     * 轮椅状态 : 0-未使用 1-空闲 2-已借用  3-故障
     */
    @NotNull(message = "轮椅状态不能为空")
    @ApiModelProperty(value = "轮椅状态: ( 0-未使用 1-空闲 2-已借用  3-故障 )", dataType = "Integer", required = true)
    @Min(value = 0, message = "轮椅状态只能是:( 0-未使用 1-空闲 2-已借用  3-故障 )")
    @Max(value = 3, message = "轮椅状态只能是:( 0-未使用 1-空闲 2-已借用  3-故障 )")
    private Integer wheeState;

    /**
     * 轮椅开始使用时间
     */
/*    @NotNull(message = "轮椅开始使用时间不能为空")
    @ApiModelProperty(value = "轮椅开始使用时间", dataType = "Long", required = true)
    private Long wheeUseTime;*/

    /**
     * 轮椅所在位置
     */
    @ApiModelProperty(value = "轮椅所在位置", dataType = "String", required = false)
    private String wheePosition;
    /**
     * 省标识
     */
/*    @NotNull(message = "省标识不能为空")
    @ApiModelProperty(value = "省标识", dataType = "Long", required = true)
    private Long provinceId;*/

    /**
     * 市标识
     */
/*    @NotNull(message = "市标识不能为空")
    @ApiModelProperty(value = "市标识", dataType = "Long", required = true)
    private Long cityId;*/

    /**
     * 区标识
     */
/*    @NotNull(message = "区标识不能为空")
    @ApiModelProperty(value = "区标识", dataType = "Long", required = true)
    private Long areaId;*/

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", dataType = "String", required = false)
    private String detailedAddress;



}
